/*
 * @Author: Mcfly
 * @Date: 2021-10-16 17:32:26
 * @LastEditTime: 2021-10-16 17:47:44
 * @LastEditors: Mcfly
 * @Description: 
 * @FilePath: \FTTfly\Filter\LimitAmpFilter.h
 * 本人github:https://github.com/McflyWZX
 */
#ifndef __LIMIT_AMP_FILTER_H__
#define __LIMIT_AMP_FILTER_H__

typedef struct{
    float limitUp;
    float limitDown;
} LimitAmpParameter;

LimitAmpParameter*  LimitAmpFilter_Init(float limitUp, float limitDown);
float LimitAmpFilter_Work(float curr_input, float last_out, LimitAmpParameter *filter);

#endif
